<div class="substation-details">
    <button nz-button nzType="primary" class="type-btn" (click) = "toggleSwitch()">
        <span *ngIf="switch">2D</span>
        <span *ngIf="!switch">3D</span>
    </button>
    <!-- <img src="../../assets/images/u2403.jpg" class="detail-img"> -->
    <div id="container" class="detail-graph"></div>
</div>
